home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / xml / schema / xml-core / tr9401.dtd < prev   
Encoding:
Text File  |  2008-11-06  |  4.2 KB  |  124 lines

  1. <!-- $Id: tr9401.dtd,v 1.1 2004/02/28 22:04:34 ardo Exp $ -->
  2. <!-- 
  3.         This dtd is a customization layer that provides additional elements 
  4.         to the (Non-Normative) OASIS XML Catalog Standard DTD to support the 
  5.         full semantics of the OASIS TR9401:97 Catalog Standard.
  6.  
  7.         Specifically, it adds the following elements to the DTD: 
  8.                 'doctype' 'document' 'dtddecl' 'entity' 
  9.                 'linktype' 'notation' 'sgmldecl'
  10.  
  11.         As recommended by the XML Catalog Standard, these additional elements 
  12.         are implemented as extension elements in the namespace:
  13.             "urn:oasis:names:tc:entity:xmlns:tr9401:catalog"
  14.         using the "soc:" namespace prefix.
  15.  
  16.         The (Non-Normative) DTD for the OASIS XML Catalog is available at 
  17.         http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd
  18.  
  19.         The OASIS XML Catalog Standard is available at
  20.     http://www.oasis-open.org/committees/entity/specs/cs-entity-xml-catalogs-1.0.html
  21.  
  22. Usage:
  23.  
  24.         This dtd is identified by the following:
  25.  
  26. PUBLIC "-//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN"
  27.         
  28. SYSTEM  "http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd"
  29.  
  30.  A typical document instance might use the following DOCTYPE statement:
  31.  
  32.    <!DOCTYPE catalog
  33.       PUBLIC "-//GlobalTransCorp//DTD XML Catalogs V1.0-Based Extension V1.0//EN"
  34.         "http://globaltranscorp.org/oasis/catalog/xml/tr9401.dtd">
  35.  
  36.         Comments or complaints should be sent to Mark Johnson <mrj@debian.org>
  37.  
  38. -->
  39.  
  40. <!ENTITY % nspre "soc:">
  41. <!ENTITY % nspre-s ":soc">
  42. <!ENTITY % ns-dec "xmlns%nspre-s;">
  43.  
  44. <!ENTITY % uriReference "CDATA">
  45.  
  46. <!ENTITY % doctype  "%nspre;doctype">
  47. <!ENTITY % document "%nspre;document">
  48. <!ENTITY % dtddecl  "%nspre;dtddecl">
  49. <!ENTITY % entity   "%nspre;entity">
  50. <!ENTITY % linktype "%nspre;linktype">
  51. <!ENTITY % notation "%nspre;notation">
  52. <!ENTITY % sgmldecl "%nspre;sgmldecl">
  53.  
  54.  
  55. <!ENTITY % local.catalog.attribs  "%ns-dec; %uriReference; #FIXED
  56.                 'urn:oasis:names:tc:entity:xmlns:tr9401:catalog'"> 
  57.  
  58. <!ENTITY % local.catalog.mix  "|%doctype;|%document;|%dtddecl;
  59.                                |%entity;|%linktype;
  60.                                |%notation;|%sgmldecl;">
  61.  
  62. <!ENTITY % catalog.dtd PUBLIC "-//OASIS//DTD XML Catalogs V1.0//EN"
  63. "catalog.dtd">
  64.      <!-- "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd"> -->
  65.  %catalog.dtd; 
  66.  
  67.  
  68. <!-- Below are the new elements -->
  69.  
  70. <!ELEMENT %doctype; EMPTY>
  71. <!ATTLIST %doctype;
  72.         id              ID                      #IMPLIED
  73.         name            CDATA                   #REQUIRED
  74.         uri             %uriReference;          #REQUIRED
  75.         xml:base        %uriReference;          #IMPLIED
  76. >
  77.  
  78. <!ELEMENT %document; EMPTY>
  79. <!ATTLIST %document;
  80.         id              ID                      #IMPLIED
  81.         uri             %uriReference;          #REQUIRED
  82.         xml:base        %uriReference;          #IMPLIED
  83. >
  84.  
  85. <!ELEMENT %dtddecl; EMPTY>
  86. <!ATTLIST %dtddecl;
  87.         id              ID                      #IMPLIED
  88.         publicId        %publicIdentifier;      #REQUIRED
  89.         uri             %uriReference;          #REQUIRED
  90.         xml:base        %uriReference;          #IMPLIED
  91. >
  92.  
  93. <!ELEMENT %entity; EMPTY>
  94. <!ATTLIST %entity;
  95.         id              ID                      #IMPLIED
  96.         name            CDATA                   #REQUIRED
  97.         uri             %uriReference;          #REQUIRED
  98.         xml:base        %uriReference;          #IMPLIED
  99. >
  100.  
  101. <!ELEMENT %linktype; EMPTY>
  102. <!ATTLIST %linktype;
  103.         id              ID                      #IMPLIED
  104.         name            CDATA                   #REQUIRED
  105.         uri             %uriReference;          #REQUIRED
  106.         xml:base        %uriReference;          #IMPLIED
  107. >
  108.  
  109. <!ELEMENT %notation; EMPTY>
  110. <!ATTLIST %notation;
  111.         id              ID                      #IMPLIED
  112.         name            CDATA                   #REQUIRED
  113.         uri             %uriReference;          #REQUIRED
  114.         xml:base        %uriReference;          #IMPLIED
  115. >
  116.  
  117. <!ELEMENT %sgmldecl; EMPTY>
  118. <!ATTLIST %sgmldecl;
  119.         id              ID                      #IMPLIED
  120.         uri             %uriReference;          #REQUIRED
  121.         xml:base        %uriReference;          #IMPLIED
  122. >
  123.  
  124.